import { createSSRApp } from "vue";
import App from "./App.vue";
import { Request } from '@/utils/request/index'
import 'virtual:uno.css'
import uvUI from '@climblee/uv-ui'
import { createPinia } from 'pinia'
const pinia = createPinia()
const uv = uni.$uv
export function createApp() {
  const app = createSSRApp(App);
  app.use(uvUI, { mpShare: true })
  app.config.globalProperties.$uvt = uv
  // 引入请求封装
  Request(app)
  app.use(pinia)
  return {
    app,
  };
}
